<?php

require_once 'FWidget.class.php';

class FTextArea extends FWidget
{
    
    public function __construct($name, $fieldLabel, $fieldWidth = 120, $rows = 5)
    {
        parent::__construct($name, 'textareafield', $fieldLabel, $fieldWidth);
        $this->setIsInput(true);
        $this->setRows($rows);
        
        $this->setBaseCls('ftextfield');
        $this->setFieldCls('ftextfield');
        $this->setLabelCls('ftextfieldlabel');
        $this->setReadOnlyCls('readonly');
        $this->setRequiredCls('required-field');
    }
    
}


?>
